package com.sxl.domain.model;

import com.sxl.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author : sxl
 * @date : 2024/8/13 8:47
 * @description: 动态线程池的service接口
 */
public interface IDynamicThreadPoolService {

    //查询全部线程池
    List<ThreadPoolConfigEntity> queryThreadPoolList();

    //根据线程池名称查询线程池
    ThreadPoolConfigEntity queryThreadPoolConfigByNane(String threadPoolName);

    //更新线程池配置
    void updateThreadPoolConfig(ThreadPoolConfigEntity threadPoolConfigEntity);

}
